package com.igeek.config.ch03.circle.constructor;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class MainTest {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext ac=new AnnotationConfigApplicationContext(MyConfig.class);
        A a = ac.getBean(A.class);
        System.out.println(a);
    }
}
